home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 127 / PC Guia 127.iso / Software / Produtividade / OpenOffice.org 2.0.1 / openofficeorg4.cab / test_sundry.py < prev    next >
Text File  |  2005-11-19  |  2KB  |  105 lines

  1. """Do a minimal test of all the modules that aren't otherwise tested."""
  2.  
  3. import warnings
  4. warnings.filterwarnings('ignore', r".*posixfile module",
  5.                         DeprecationWarning, 'posixfile$')
  6. warnings.filterwarnings('ignore', r".*statcache module",
  7.                         DeprecationWarning, 'statcache$')
  8. warnings.filterwarnings('ignore', r".*'re' module",
  9.                         DeprecationWarning, 'pre$')
  10.  
  11. from test.test_support import verbose
  12.  
  13. import BaseHTTPServer
  14. import CGIHTTPServer
  15. import Queue
  16. import SimpleHTTPServer
  17. import SocketServer
  18. import aifc
  19. import anydbm
  20. import audiodev
  21. import bdb
  22. import cmd
  23. import code
  24. import codeop
  25. import colorsys
  26. import commands
  27. import compileall
  28. try:
  29.     import curses   # not available on Windows
  30. except ImportError:
  31.     if verbose:
  32.         print "skipping curses"
  33. import dircache
  34. import dis
  35. import distutils
  36. import doctest
  37. import dumbdbm
  38. import encodings
  39. import fnmatch
  40. import formatter
  41. import fpformat
  42. import ftplib
  43. import getpass
  44. import glob
  45. import gopherlib
  46. import htmlentitydefs
  47. import htmllib
  48. import httplib
  49. import imaplib
  50. import imghdr
  51. import imputil
  52. import keyword
  53. import macpath
  54. import macurl2path
  55. import mailcap
  56. import mhlib
  57. import mimetypes
  58. import mimify
  59. import multifile
  60. import mutex
  61. import nntplib
  62. import nturl2path
  63. import pdb
  64. import pipes
  65. #import poplib
  66. import posixfile
  67. import pre
  68. import profile
  69. import pstats
  70. import py_compile
  71. #import reconvert
  72. import repr
  73. try:
  74.     import rlcompleter   # not available on Windows
  75. except ImportError:
  76.     if verbose:
  77.         print "skipping rlcompleter"
  78. import robotparser
  79. import sched
  80. import sgmllib
  81. import shelve
  82. import shlex
  83. import shutil
  84. import smtplib
  85. import sndhdr
  86. import statcache
  87. import statvfs
  88. import stringold
  89. import sunau
  90. import sunaudio
  91. import symbol
  92. import tabnanny
  93. import telnetlib
  94. import test
  95. import toaiff
  96. #import tzparse
  97. import urllib2
  98. # Can't test the "user" module -- if the user has a ~/.pythonrc.py, it
  99. # can screw up all sorts of things (esp. if it prints!).
  100. #import user
  101. import webbrowser
  102. import whichdb
  103. import xdrlib
  104. import xml
  105.